package com.csl.jsonpreference.tag;


import com.csl.jsonpreference.bean.ConfigTYPE;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.TYPE})//, ElementType.TYPE})
public @interface Configurable {
//    String value() default "";
    String key() default "";
    String discribe() default "";
    ConfigTYPE type() default ConfigTYPE.AUTO;
    int index() default Integer.MAX_VALUE;

    boolean configurable() default true;
}
